{% extends 'base.html' %}

{% block title %}Hello 页面{% endblock %}

{% block content %}
    {% if name %}
        <h1>Hello, {{ name }}!</h1>
    {% else %}
        <h1>Hello, World!</h1>
    {% endif %}
{% endblock %}